<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="${ctxPath}/static/plugins/layui/css/layui.css" media="all"/>

</head>
<body>
<p2>test</p2>

<button class="layui-btn " ><i class="layui-icon">&#xe602;</i>弹出</button>

<img src="/img/p1.jpg" id="demo">

<script type="text/javascript" src="${ctxPath}/static/plugins/layui/layui.js"></script>
<script type="text/javascript" src="${ctxPath}/static/js/test.js"></script>
</body>

</html>